Dynamicweb 8 Documentation
GetById<T>(String) Method

Item type.
Item Id.
Selects the item by its Id.
Syntax
'Declaration
 
Public Overloads Function GetById(Of T As {New, ItemEntry})( _ 
   ByVal id As String _ 
) As T
public T GetById<T>( 
   string id
)
where T: new(), ItemEntry

Parameters

id
Item Id.

Type Parameters

T
Item type.

Return Value

Item with the given Id.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

StorageManager Class
StorageManager Members
Overload List

Send Feedback